deleteLog

suspend fun deleteLog(log: ChatLog)

Deletes a chat log from Firestore. If the log does not have an ID, the operation is skipped.

Parameters

log

The chat log to be deleted.


suspend fun deleteLog(id: String)

Deletes a chat log from Firestore by its ID.

Parameters

id

The unique ID of the chat log to be deleted.